    <link rel="stylesheet" type="text/css" href="/admin/news/css/news.css" />

    <span class="span-title">新闻管理</span>
    <div class="vcontent">
        <div class="area larea" style="display:none;">
            <input type="text" class="form-control inp-search" id="txt-words" placeholder="请输入搜索词" /> 
            <div class="div-margin"><span class="glyphicon glyphicon-search icon-size icon-color"></span></div>
        </div>
        <div class="area rarea">
            <a href="/admin/newsDetail"><span class="glyphicon glyphicon-plus icon-size icon-color"></span></a>
            <span class="glyphicon glyphicon-trash icon-size icon-color" style="margin-left:15px;" id="del"></span>
        </div>
        <table class="table table table-bordered table-hover mytable">
            <tr>
                <td class="center"><input type="checkbox" id="chb_all" /></td>
                <td  class="center">编号</td>
                <td>标题</td>
                <td>时间</td>
                <td  class="center">操作</td>
            </tr>
            {{#each news}}
            <tr>
                <td class="center"><input type="checkbox" flag="{{./id}}"/></td>
                <td class="center">{{addOne ../pageIndex @index}}</td>
                <td><a href="/admin/newsDetail/{{../pageIndex}}/{{./id}}">{{./title}}</a></td>
                <td>{{./createDate}}</td>
                <td class="center"><a href="/admin/newsDetail/{{../pageIndex}}/{{./id}}">编辑</a></td>
            </tr>
            {{/each}}
        </table>
        <ul id='paginator'></ul>
        <input type="hidden" id="hidPage" value="{{pageIndex}}"/>
        <input type="hidden" id="hidTotalCount"  value="{{totalCount}}"/>
    </div>
    <script type="text/javascript">
        require(['/admin/news/js/f_news.js'],function (news) {
            news.init();
        });
    </script>